Does "Masters" folder in Photos package contain everything?
Yes it does, however Photos will have to regenerate all the thumbnails etc.

If you are trying to merge to photos libraries why not open the library you want to merge select all Command+A and then file Export

Then drag them into the new library, this way there is no risk of corrupting anything.